package se.sll.service.catalogue.common.rest.request;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 *
 * @author khaleddaham
 */
@SuppressWarnings("PMD.UnusedPrivateField")
@XmlRootElement
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CapacityCreateRequest implements Cloneable {

    @NotNull()
    private String hsaID;
    @NotNull()
    private String product;
    @NotNull()
    private String code;
    @NotNull()
    private String codeSystem;
    @NotNull()
    private String value;
    @NotNull()
    private Date validTo;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
